﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test4
{
   
        public class Soldier : Enemy
        {
            public Soldier(string n) : base(n)
            {
            }
            public override void Attrack()
            {
                base.Attrack();
                Console.WriteLine("小兵发起了攻击");
            }
        }
    }

